package com.ruleengine.coordinator;

import com.ruleengine.util.model.Message;

public interface IProducer {
    IProducer DUMMY = new IProducer() {
        @Override
        public void send(Message message) {
            System.out.println(message);
        }

        @Override
        public void close() {

        }
    };
    void send(Message message);

    void close();
}
